/*
 * @Author: zsc
 * @Date: 2022-07-19 21:06:30
 * @LastEditors: zsc
 * @LastEditTime: 2022-07-19 22:00:31
 * @Description:物业
 */

import Layout from '@/layout'

const pre = 'finance'
const router = {
  path: '/' + pre,
  component: Layout,
  redirect: '/finance/list',
  name: pre,
  meta: {
    title: '财务管理',
    icon: 'el-icon-ly-icon_zhifadaduixiaquguanli',
    permissions: ['Finance']
  },
  children: [
    {
      path: 'property',
      component: () => import('@/views/empty'), // Parent router-view
      name: pre + 'list',
      meta: { title: '物业费管理', permissions: ['Finance:Property'] }
    },
    {
      path: 'water',
      component: () => import('@/views/empty'), // Parent router-view
      name: pre + 'list',
      meta: { title: '水电费', permissions: ['Finance:Water'] }
    },
    {
      path: 'other',
      component: () => import('@/views/empty'), // Parent router-view
      name: pre + 'list',
      meta: { title: '其他', permissions: ['Finance:Other'] }
    }
  ]
}

export default router

